package com.core.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pojo.entity.ImMessageRecordEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pojo.req.im.ImRecordReq;
import com.pojo.req.im.ImRecordResp;

import java.util.List;

/**
 * <p>
 * 用户消息记录 服务类
 * </p>
 *
 * @author hewei
 * @since 2023-10-21
 */
public interface IImMessageRecordService extends IService<ImMessageRecordEntity> {

    Page<ImRecordResp> page(ImRecordReq imRecordReq);

    List<ImRecordResp> list(Long userId, Integer limit);

    void read(ImRecordReq imRecordReq);
}
